Searched hist:be0e1e78 (Results 1 – 1 of 1) sorted by path
/linux/lib/ |
H A D | checksum.c | be0e1e78 Thu Jul 07 01:18:49 GMT 2011 Ian Abbott <abbotti@mev.co.uk> lib/checksum.c: optimize do_csum a bit
Reduce the number of variables modified by the loop in do_csum() by 1, which seems like a good idea. On Nios II (a RISC CPU with 3-operand instruction set) it reduces the loop from 7 to 6 instructions, including the conditional branch.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
|